package org.mrjbee.share.it.easy.client.daemon;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;

public class LocalEntryPoint 
{
    public static void main(String[] args) throws FileNotFoundException, IOException{
    	
    	//read properties
    	ConfigurationProvider configuration = new ConfigurationProvider();
    	Properties properties = new Properties();
    	
    	properties.setProperty("notifications.pattern", "notify-send;{msg};{body}");
    	properties.setProperty("server.base.url","https://shareiteasyserver.appspot.com");
    	
    	properties.setProperty("access.token","1/6f8H6oVHEPvQy42ISrcUNJZV8jlKIZPmFjmVotccseQ");
    	properties.setProperty("access.token.secret","lL8zDRJ1jYIWEm5vbhuSFNFF");
    
    	configuration.init(properties);
    	
    	final Daemon daemon = new Daemon(configuration);    	
    	daemon.start();
    }
}
